package com.ybwh.springboot2.vueadmin.sys.service;

import com.ybwh.springboot2.common.Pagination;
import com.ybwh.springboot2.vueadmin.sys.model.po.SysUserAccount;
import com.ybwh.springboot2.vueadmin.sys.model.vo.user.UserAccountPageParam;
import com.ybwh.springboot2.vueadmin.sys.model.vo.user.UserAccountPageVO;

/**
 * <p>
 * 账号表服务接口
 * </p>
 *
 * @author Fan Beibei
 * @version V1.0
 * @since 2023-04-08 19:57:22
 */
public interface SysUserAccountService {

    /**
     * 根据账号查询
     *
     * @param account
     * @return
     */
    SysUserAccount queryByAccount(String account);

    /**
     * 根据 ID 查询
     *
     * @param id 主键ID
     */
    SysUserAccount selectById(Long id);


    /**
     * 分页
     *
     * @param param
     * @return
     */
    Pagination<UserAccountPageVO> pageList(UserAccountPageParam param);
}
